package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 device_camera
 * 
 * @author ruoyi
 * @date 2020-09-10
 */
public class DeviceCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 摄像机id */
    private Long cameraId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cameraName;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    private String deviceSerial;

    /** 设备验证码 */
    @Excel(name = "设备验证码")
    private String validateCode;

    /** $column.columnComment */
    @Excel(name = "设备验证码")
    private String hlsUrl;

    /** $column.columnComment */
    @Excel(name = "设备验证码")
    private String rtmpUrl;

    /** 所属区域id */
    @Excel(name = "所属区域id")
    private Long deptId;

    /** 是否在线 0否1是 */
    @Excel(name = "是否在线 0否1是")
    private Integer isOnline;

    /** 是否云台控制1是0否 */
    @Excel(name = "是否云台控制1是0否")
    private Integer isControl;

    public void setCameraId(Long cameraId) 
    {
        this.cameraId = cameraId;
    }

    public Long getCameraId() 
    {
        return cameraId;
    }
    public void setCameraName(String cameraName) 
    {
        this.cameraName = cameraName;
    }

    public String getCameraName() 
    {
        return cameraName;
    }
    public void setDeviceSerial(String deviceSerial) 
    {
        this.deviceSerial = deviceSerial;
    }

    public String getDeviceSerial() 
    {
        return deviceSerial;
    }
    public void setValidateCode(String validateCode) 
    {
        this.validateCode = validateCode;
    }

    public String getValidateCode() 
    {
        return validateCode;
    }
    public void setHlsUrl(String hlsUrl) 
    {
        this.hlsUrl = hlsUrl;
    }

    public String getHlsUrl() 
    {
        return hlsUrl;
    }
    public void setRtmpUrl(String rtmpUrl) 
    {
        this.rtmpUrl = rtmpUrl;
    }

    public String getRtmpUrl() 
    {
        return rtmpUrl;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setIsOnline(Integer isOnline) 
    {
        this.isOnline = isOnline;
    }

    public Integer getIsOnline() 
    {
        return isOnline;
    }
    public void setIsControl(Integer isControl) 
    {
        this.isControl = isControl;
    }

    public Integer getIsControl() 
    {
        return isControl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cameraId", getCameraId())
            .append("cameraName", getCameraName())
            .append("deviceSerial", getDeviceSerial())
            .append("validateCode", getValidateCode())
            .append("hlsUrl", getHlsUrl())
            .append("rtmpUrl", getRtmpUrl())
            .append("deptId", getDeptId())
            .append("isOnline", getIsOnline())
            .append("isControl", getIsControl())
            .toString();
    }
}
